{{ partial("partials/crumb", ["data": crumbData]) }}
<div class="row" style="padding-bottom:20px;">
    <div class="col-md-4">
        <div class="btn-group">
            <button type="button" class="btn btn-default" data-toggle="modal" data-target="#myModal">新建</button>
            <button type="button" class="btn btn-default" disabled id="patch-delete">删除</button>
            <button type="button" class="btn btn-default" id="refresh">刷新列表</button>
        </div>
    </div>
    <div class="col-md-8 text-right"><a class="btn btn-default" href="/readme.html#page" target="_blank"><i class="fa fa-info-circle"></i> 查看帮助</a></div>
</div>

<div id="rows" data-siteid="{{ siteid }}"></div>

<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
        <div class="modal-header">
            <h5 class="modal-title" id="myModalLabel">新建页面</h5>
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        </div>
      <div class="modal-body">
        <form>
          <div class="form-group">
            <label for="recipient-name" class="control-label">标题</label>
            <input type="text" class="form-control" id="title">
          </div>
          <div class="form-group">
            <label class="control-label" for="path">存储位置（支持多级目录，最大深度5）</label>
            <div class="input-group">
              <div class="input-group-addon">/page/</div>
              <input type="text" class="form-control" id="path" placeholder="只接受5-20位的字母,数字,下划线,分割线,斜杠">
              <div class="input-group-addon">.volt</div>
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" id="create-bt" data-siteid="{{ siteid }}">提交</button>
      </div>
    </div>
  </div>
</div>
